package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <desc>
 *      物业缴费账单表
 * </desc>
 *
 * @createDate 2018/08/15
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("property_payment_bill")
public class PropertyPaymentBillPO extends BasePO{
    @ItlField(value = "fee_id",logicKey = "key")
    private String feeId;                       //逻辑id
    @ItlField("fee_number")
    private String feeNumber;                   //费用单号
    @ItlField("build_id")
    private String buildId;                     //楼栋id
    @ItlField("unit_id")
    private String unitId;                      //单元id
    @ItlField("room_id")
    private String roomId;                      //房间id
    @ItlField("start_time")
    private Date startTime;                       //起始时间
    @ItlField("end_time")
    private Date endTime;                        //结束时间
    @ItlField("real_name")
    private String realName;                    //住户姓名
    @ItlField("phone_num")
    private String phoneNum;                    //手机号
    @ItlField("month")
    private String month;                       //月份(多月份例子:01,02,03)
    @ItlField("type")
    private Integer type;                       //收费类型： 1.抄表费 物业费 2.维修费 3.停车费
    @ItlField("due_amount")
    private BigDecimal dueAmount;               //应缴金额
    @ItlField("paid_amount")
    private BigDecimal paidAmount;              //实缴金额
    @ItlField("penalty")
    private BigDecimal penalty;                 //滞纳金
    @ItlField("project_id")
    private String projectId;                   //项目编号
    @ItlField("fee_status")
    private Integer feeStatus;                  //费用状态：1未缴账单 2已缴账单
    @ItlField("payment_type")
    private Integer paymentType;                //收费方式：1微信支付 2现金支付
    @ItlField("origin_pay")
    private Integer originPay;                  //支付来源 ：1物业 2APP
    @ItlField("trade_id")
    private Integer tradeId;                    //订单id
    @ItlField("pay_time")
    private Date payTime;                       //缴费时间
    @ItlField("user_id")
    private String userId;                      //操作员
    @ItlField("month_card_id")
    private String monthCardId;                 //月卡ID
    @ItlField("car_id")
    private String carId;                       //车辆ID
    @ItlField("temporary_flag")
    private Integer temporaryFlag;               //临时通行过期处理标记 0未处理 1已处理
}
